//
//  OldTableViewCell.m
//  SHShopping
//
//  Created by 坤鼎 on 2019/9/1.
//  Copyright © 2019 kunding. All rights reserved.
//

#import "OldTableViewCell.h"

@implementation OldTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)updateOldTableViewCellWithdata:(OldActivityModel *)model {
    [self.backgroundImageView sd_setImageWithURL:[NSURL URLWithString:DSStringValue(model.imgPath)] placeholderImage:LHYPlaceholderImage];
    self.lbTitle.text = [NSString stringWithFormat:@"%@",DSStringValue(model.title)];
    self.lbDetail.text = [NSString stringWithFormat:@"%@", DSStringValue(model.fromName)];
}

- (void)updateOldTableViewCellVideoWithdata:(ListNightSHTweetModel *)model {
    [self.backgroundImageView sd_setImageWithURL:[NSURL URLWithString:DSStringValue(model.videoBgImgPath)] placeholderImage:LHYPlaceholderImage];
}


@end
